package com.example.hotel.ease.mapper;

import com.example.hotel.ease.pojo.entity.User;

import java.util.List;

public interface UserMapper {
    int insert(User user);

    int deleteById(Long id);

    int updateById(User user);

    User selectById(Long id);

    User selectByUsername(String username);

    List<User> selectAll();
}
